package com.njym.java.security.app.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-11-06 09:12:35
 */
@Table(name = "family_news")
public class FamilyNews implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //
    @Column(name = "class_id")
    private Integer classId;
	
	    //新闻类型 0普通 1图片 2标题
    @Column(name = "news_type")
    private Integer newsType;
	
	    //标题
    @Column(name = "news_title")
    private String newsTitle;
	
	    //副标题
    @Column(name = "news_stitle")
    private String newsStitle;
	
	    //作者
    @Column(name = "author")
    private String author;
	
	    //来源
    @Column(name = "souce")
    private String souce;
	
	    //关键字
    @Column(name = "tags")
    private String tags;
	
	    //
    @Column(name = "content")
    private String content;
	
	    //点击数
    @Column(name = "click")
    private Integer click;
	
	    //是否置顶
    @Column(name = "is_top")
    private Integer isTop;
	
	    //是否推荐
    @Column(name = "is_recommend")
    private Integer isRecommend;
	
	    //是否点评
    @Column(name = "is_comm")
    private Integer isComm;
	
	    //状态
    @Column(name = "status")
    private Integer status;
	
	    //是否删除
    @Column(name = "deleted")
    private Integer deleted;
	
	    //修改时间
    @Column(name = "update_time")
    private Date updateTime;
	
	    //创建时间
    @Column(name = "create_time")
    private Date createTime;
	
	    //
    @Column(name = "str1")
    private String str1;
	
	    //
    @Column(name = "str2")
    private String str2;
	
	    //
    @Column(name = "str3")
    private String str3;
	
	    //
    @Column(name = "str4")
    private String str4;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：
	 */
	public void setClassId(Integer classId) {
		this.classId = classId;
	}
	/**
	 * 获取：
	 */
	public Integer getClassId() {
		return classId;
	}
	/**
	 * 设置：新闻类型 0普通 1图片 2标题
	 */
	public void setNewsType(Integer newsType) {
		this.newsType = newsType;
	}
	/**
	 * 获取：新闻类型 0普通 1图片 2标题
	 */
	public Integer getNewsType() {
		return newsType;
	}
	/**
	 * 设置：标题
	 */
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	/**
	 * 获取：标题
	 */
	public String getNewsTitle() {
		return newsTitle;
	}
	/**
	 * 设置：副标题
	 */
	public void setNewsStitle(String newsStitle) {
		this.newsStitle = newsStitle;
	}
	/**
	 * 获取：副标题
	 */
	public String getNewsStitle() {
		return newsStitle;
	}
	/**
	 * 设置：作者
	 */
	public void setAuthor(String author) {
		this.author = author;
	}
	/**
	 * 获取：作者
	 */
	public String getAuthor() {
		return author;
	}
	/**
	 * 设置：来源
	 */
	public void setSouce(String souce) {
		this.souce = souce;
	}
	/**
	 * 获取：来源
	 */
	public String getSouce() {
		return souce;
	}
	/**
	 * 设置：关键字
	 */
	public void setTags(String tags) {
		this.tags = tags;
	}
	/**
	 * 获取：关键字
	 */
	public String getTags() {
		return tags;
	}
	/**
	 * 设置：
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * 获取：
	 */
	public String getContent() {
		return content;
	}
	/**
	 * 设置：点击数
	 */
	public void setClick(Integer click) {
		this.click = click;
	}
	/**
	 * 获取：点击数
	 */
	public Integer getClick() {
		return click;
	}
	/**
	 * 设置：是否置顶
	 */
	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}
	/**
	 * 获取：是否置顶
	 */
	public Integer getIsTop() {
		return isTop;
	}
	/**
	 * 设置：是否推荐
	 */
	public void setIsRecommend(Integer isRecommend) {
		this.isRecommend = isRecommend;
	}
	/**
	 * 获取：是否推荐
	 */
	public Integer getIsRecommend() {
		return isRecommend;
	}
	/**
	 * 设置：是否点评
	 */
	public void setIsComm(Integer isComm) {
		this.isComm = isComm;
	}
	/**
	 * 获取：是否点评
	 */
	public Integer getIsComm() {
		return isComm;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：是否删除
	 */
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	/**
	 * 获取：是否删除
	 */
	public Integer getDeleted() {
		return deleted;
	}
	/**
	 * 设置：修改时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：
	 */
	public void setStr1(String str1) {
		this.str1 = str1;
	}
	/**
	 * 获取：
	 */
	public String getStr1() {
		return str1;
	}
	/**
	 * 设置：
	 */
	public void setStr2(String str2) {
		this.str2 = str2;
	}
	/**
	 * 获取：
	 */
	public String getStr2() {
		return str2;
	}
	/**
	 * 设置：
	 */
	public void setStr3(String str3) {
		this.str3 = str3;
	}
	/**
	 * 获取：
	 */
	public String getStr3() {
		return str3;
	}
	/**
	 * 设置：
	 */
	public void setStr4(String str4) {
		this.str4 = str4;
	}
	/**
	 * 获取：
	 */
	public String getStr4() {
		return str4;
	}
}
